package com.winhxd.b2c.pay.weixin.service.impl;

import com.winhxd.b2c.pay.weixin.dao.PayBillMapper;
import com.winhxd.b2c.pay.weixin.model.PayBill;
import com.winhxd.b2c.pay.weixin.service.WXPayBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WXPayBillServiceImpl implements WXPayBillService{

    @Autowired
    private PayBillMapper payBillMapper;

    @Override
    public PayBill getPayBillByOutTradeNo(String outTradeNo) {
        return payBillMapper.selectByOutTradeNo(outTradeNo);
    }
}
